import {
  post
} from '../utils/request'

function getopenid(data) {
  return post({
    url: '/user/getopenid',
    data
  })
}

function getimagelist(data) {
  return post({
    url: '/image/list',
    data
  })
}
function getlinelist(data) {
  return post({
    url: '/image/linetinelist',
    data
  })
}
function bindNum(data) {
  return post({
    url: '/user/bindNum',
    data
  })
}
function bindName(data) {
  return post({
    url: '/user/bindName',
    data
  })
}
function imagedelete(data) {
  return post({
    url: '/image/delete',
    data
  })
}
function homelist(data) {
  return post({
    url: '/home/list',
    data
  })
}
function sharelist(data) {
  return post({
    url: '/share/list',
    data
  })
}
function UrlCode(data) {
  return post({
    url: '/user/UrlCode',
    data
  })
}
function getSlide(data) {
  return post({
    url: '/home/getSlide',
    data
  })
}
function shareSave(data) {
  return post({
    url: '/share/save',
    data
  })
}

export {
  getopenid,
  getimagelist,
  getlinelist,
  bindNum,
  bindName,
  imagedelete,
  homelist,
  sharelist,
  UrlCode,
  getSlide,
  shareSave
}